package org.dromara.study.domain.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import java.util.Date;

@TableName("book_borrowing_records")
@Data
@EqualsAndHashCode(callSuper = true)
public class BookBorrowingRecords extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    @TableId(value = "id")
    private Long id;

    /**
     * 图书ID
     */
    private Long bookId;

    /**
     * 借阅日期
     */
    private String borrowingDate;

    /**
     * 借阅天数
     */
    private Integer borrowingDays;

    /**
     * 归还日期
     */
    private String returnDate;

    /**
     * 是否已归还（0: 未归还, 1: 已归还）
     */
    private Integer isReturn;

    /**
     * 借阅人
     */
    private Long borrowingUser;
}
